UPDATE C1_ROLE_PERMISSION T SET T.END_DATE = :endDate WHERE INSTR(:ids, T.ID) > 0